package com.qumoyugo.springframework.beans.factory.config;

import com.qumoyugo.springframework.beans.BeansException;
import com.qumoyugo.springframework.beans.factory.ConfigurableListableBeanFactory;

/**
 * 允许自定义修改BeanDefinition的属性信息
 */
public interface BeanFactoryPostProcessor {

    /**
     * 在bean注册之后实例化之前提供对修改BeanDefinition属性的机制
     * @param beanFactory
     * @throws BeansException
     */
    void beanPostProcessor(ConfigurableListableBeanFactory beanFactory) throws BeansException;
}
